package com.msb.test08;

public class Person {
    private int age;
    private String name;
    private double weight;

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public void eat(){
        System.out.println("人类吃东西");
    }

    public void sleep(){
        System.out.println("人类睡觉");

    }

    public void shout(){
        System.out.println("人类喊叫");

    }
}
